home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 4775 / 4775.xpi / chrome / autofillforms.jar / content / autofillFormsOverlay.xul < prev    next >
Extensible Markup Language  |  2008-07-04  |  6KB  |  183 lines

  1. <?xml version="1.0"?>
  2. <?xml-stylesheet href="chrome://autofillForms/skin/autofillForms.css" type="text/css"?>
  3. <!DOCTYPE overlay SYSTEM "chrome://autofillForms/locale/autofillForms.dtd">
  4. <overlay id="autofillForms" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
  5.     <script
  6.         type="application/x-javascript"
  7.         src="chrome://autofillForms/content/autofillForms.js"
  8.     />
  9.     <script
  10.         type="application/x-javascript"
  11.         src="chrome://autofillForms/content/autofillFormsOverlay.js"
  12.     />
  13.     <stringbundleset id="stringbundleset">
  14.         <stringbundle
  15.             id="autofillFormsStringBundle"
  16.             src="chrome://autofillForms/locale/autofillForms.properties"
  17.         />
  18.     </stringbundleset>
  19.     <window id="main-window">
  20.         <popupset id="autofillFormsPopUpSet">
  21.             <tooltip
  22.                 id="autofillFormsTooltip"
  23.                 onpopupshowing="autofillForms.tooltip(event);"
  24.                 orient="vertical"
  25.             />
  26.             <menupopup id="autofillFormsPopupMenu" position="after_start">
  27.                 <menu
  28.                     id="autofillFormsPopupProfileMenuItem"
  29.                     label="&profilemenuitem.label;"
  30.                     class="menu-iconic autofillFormsProfileIcon">
  31.                     <menupopup onpopupshowing="if(event.target == this) autofillForms.initProfilesPopupMenu(event);"/>
  32.                 </menu>
  33.                 <menuitem
  34.                     id="autofillFormsPopupSettingsMenuItem"
  35.                     label="&settingsmenuitem.label;"
  36.                     class="menuitem-iconic autofillFormsSettingsIcon"
  37.                     oncommand="autofillForms.showDialog('chrome://autofillForms/content/autofillFormsOptions.xul');"
  38.                 />
  39.                 <menuitem
  40.                     id="autofillFormsPopupHelpMenuItem"
  41.                     label="&helpmenuitem.label;"
  42.                     class="menuitem-iconic autofillFormsHelpIcon"
  43.                     oncommand="autofillForms.openHelp();"
  44.                 />
  45.             </menupopup>
  46.             <menupopup
  47.                 id="autofillFormsProfileSelectionPopup"
  48.                 position="after_start"
  49.             />
  50.         </popupset>
  51.     </window>
  52.     <commandset id="mainCommandSet">
  53.         <command
  54.             id="autofillForms"
  55.             oncommand="autofillForms.fillForms();"
  56.         />
  57.         <command
  58.             id="autofillFormsSubmit"
  59.             oncommand="autofillForms.fillForms(null, null, true);"
  60.         />
  61.         <command
  62.             id="autofillFormsAllTabs"
  63.             oncommand="autofillForms.fillForms(null, null, null, true);"
  64.         />
  65.         <command
  66.             id="autofillFormsFromProfileSelection"
  67.             oncommand="autofillForms.profileSelectionFormFillPrompt(event);"
  68.         />
  69.         <command
  70.             id="autofillFormsProfile"
  71.             oncommand="autofillForms.showProfileSwitcher(event);"
  72.         />
  73.         <command
  74.             id="autofillFormsSettings"
  75.             oncommand="autofillForms.showDialog('chrome://autofillForms/content/autofillFormsOptions.xul');"
  76.         />
  77.         <command
  78.             id="autofillFormsDisplayFormDetails"
  79.             oncommand="autofillForms.displayFormDetails();"
  80.         />
  81.     </commandset>
  82.     <statusbar id="status-bar">
  83.         <statusbarpanel
  84.             id="autofillFormsPanelIcon"
  85.             class="statusbarpanel-menu-iconic autofillFormsIcon"
  86.             onclick="autofillForms.clickHandler(event);"
  87.             context="autofillFormsPopupMenu"
  88.             tooltip="autofillFormsTooltip"
  89.             hidden="true"
  90.         />
  91.     </statusbar>
  92.     <toolbarpalette id="BrowserToolbarPalette">
  93.         <toolbarbutton
  94.             id="autofillFormsButton"
  95.             class="toolbarbutton-1 autofillFormsButton"
  96.             label="&toolbarbutton.label;"
  97.             tooltip="autofillFormsTooltip"
  98.             oncommand="if(event.target == this) autofillForms.commandHandler(event);"
  99.             onclick="autofillForms.clickHandler(event);"
  100.             context="autofillFormsPopupMenu"
  101.             type="menu-button">
  102.             <menupopup id="autofillFormsButtonMenu" position="after_start">
  103.                 <menu
  104.                     id="autofillFormsButtonProfileMenuItem"
  105.                     label="&profilemenuitem.label;"
  106.                     class="menu-iconic autofillFormsProfileIcon">
  107.                     <menupopup onpopupshowing="if(event.target == this) autofillForms.initProfilesPopupMenu(event);"/>
  108.                 </menu>
  109.                 <menuitem
  110.                     id="autofillFormsButtonSettingsMenuItem"
  111.                     label="&settingsmenuitem.label;"
  112.                     class="menuitem-iconic autofillFormsSettingsIcon"
  113.                     oncommand="autofillForms.showDialog('chrome://autofillForms/content/autofillFormsOptions.xul');"
  114.                 />
  115.                 <menuitem
  116.                     id="autofillFormsButtonHelpMenuItem"
  117.                     label="&helpmenuitem.label;"
  118.                     class="menuitem-iconic autofillFormsHelpIcon"
  119.                     oncommand="autofillForms.openHelp();"
  120.                 />
  121.             </menupopup>
  122.         </toolbarbutton>
  123.     </toolbarpalette>
  124.     <popup id="contentAreaContextMenu">
  125.         <menuseparator
  126.             id="autofillFormsContextMenuSeparator2"
  127.             insertafter="context-selectall"
  128.         />
  129.         <menuitem
  130.             id="autofillFormsDisplayFormDetailsContextMenuItem"
  131.             label="&formdetails.label;"
  132.             insertafter="context-selectall"
  133.             oncommand="autofillForms.displayFormDetails();"
  134.         />
  135.         <menuitem
  136.             id="autofillFormsAddFormAsProfileContextMenuItem"
  137.             label="&addformasprofilecontextmenuitem.label;"
  138.             accesskey="&addformasprofilecontextmenuitem.accesskey;"
  139.             insertafter="context-selectall"
  140.             oncommand="autofillForms.addFormAsProfile(event);"
  141.         />
  142.         <menuitem
  143.             id="autofillFormsAddRuleContextMenuItem"
  144.             label="&addrulecontextmenuitem.label;"
  145.             accesskey="&addrulecontextmenuitem.accesskey;"
  146.             insertafter="context-selectall"
  147.             oncommand="autofillForms.showDialog('chrome://autofillForms/content/autofillFormsOptions.xul');"
  148.         />
  149.         <menu
  150.             id="autofillFormsManualFillContextMenu"
  151.             label="&manualfillcontextmenu.label;"
  152.             accesskey="&manualfillcontextmenu.accesskey;"
  153.             insertafter="context-selectall"
  154.             class="menu-iconic autofillFormsIcon">
  155.             <menupopup
  156.                 onpopupshowing="if(event.target == this) autofillForms.initManualFillContextMenu(event);"
  157.             />
  158.         </menu>
  159.         <menuitem
  160.             id="autofillFormsContextMenuItem"
  161.             label="&autofillformscontextmenuitem.label;"
  162.             accesskey="&autofillformscontextmenuitem.accesskey;"
  163.             insertafter="context-selectall"
  164.             class="menuitem-iconic autofillFormsIcon"
  165.             oncommand="autofillForms.fillForms();"
  166.         />
  167.         <menu
  168.             id="autofillFormsContextMenu"
  169.             label="&autofillformscontextmenuitem.label;"
  170.             accesskey="&autofillformscontextmenuitem.accesskey;"
  171.             insertafter="context-selectall"
  172.             class="menu-iconic autofillFormsIcon"
  173.             hidden="true">
  174.             <menupopup
  175.                 onpopupshowing="autofillForms.prepareProfileSelectionFormFillMenu(this);"
  176.             />
  177.         </menu>
  178.         <menuseparator
  179.             id="autofillFormsContextMenuSeparator1"
  180.             insertafter="context-selectall"
  181.         />
  182.     </popup>
  183. </overlay>